package com.settlement.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.settlement.system.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 余额表
 * </p>
 *
 * @author huangrensen
 * @since 2024-07-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysBalance extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    /**
     * 店铺ID
     */
    private Long storeId;


    /**
     * 账单日期
     */
    private LocalDate billDate;


    /**
     * 余额
     */
    private BigDecimal balanceAmount;

}
